#include<string.h>
int inc(const void*a,const void*b)
{
    return strcmp(*(char**)a,*(char**)b);
}
int main()
{

    char s[10][20]= {"one","two","three","four","five","six","seven","eight","nine","ten"};
    //qsort(s,10,sizeof(s[0]),inc);
    qsort(s,10,sizeof(s[0]),strcmp);//wrong
    int i;
    for(i=0; i<10; i++)
        printf("%s ",s[i]);
    printf("\n");
    return 0;
}
